package com.mingdao.lhy.mapper.wish;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.SignUpStudent;

@Mapper
//@CacheConfig(cacheNames = "signUpStudent")
@Repository(value = "signUpStudentMapper")
public interface SignUpStudentMapper {

	List<SignUpStudent> list();

	List<SignUpStudent> getWishedStudentByXsdmWished(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmWishedPage(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmNotWished(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmNotWishedPage(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmWishedMiddle(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmWishedMiddlePage(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmNotWishedMiddle(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByXsdmNotWishedMiddlePage(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByByzxdmWishedHigh(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByByzxdmNotWishedHigh(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByByzxdmWishedMiddle(Map<String, String> map);

	List<SignUpStudent> getWishedStudentByByzxdmNotWishedMiddle(Map<String, String> map);

	//@Cacheable(key = "#p0")
	SignUpStudent getOne(String id);

	//@CacheEvict(key = "#p0", allEntries = true)
	int deleteByPrimaryKey(String id);

	int insert(SignUpStudent record);

	int insertSelective(SignUpStudent record);

	//@Cacheable(key = "#p0")
	SignUpStudent selectByPrimaryKey(String id);

	//@CachePut(key = "#p0")
	int updateByPrimaryKeySelective(SignUpStudent record);

	//@CachePut(key = "#p0")
	int updateByPrimaryKey(SignUpStudent record);

	//@CachePut(key = "#p0")
	int updatePasswordByPrimaryKey(SignUpStudent record);

	//@Cacheable(key = "#p0")
	SignUpStudent getStudentByBmh(String bmh);

}